Ergebnis 1 bis 5 von 5

Thema: [Tutorial] Wie installiere ich 3proxy mit http(s) und Socks5 Support

Baum-Darstellung

  1. #1
    100% 0-Ahnung Avatar von FLX
    Registriert
    Mar 2015
    Beiträge
    1,669
    Gefällt mir!
    965
    Du gefällst: 1,247

    [Tutorial] Wie installiere ich 3proxy mit http(s) und Socks5 Support

    # System updaten
    Code:
    apt-get update
    # Installiere den gcc compiler und make
    Code:
    apt-get install make gcc -y
    # testen ob es korrekt installiert wurde
    Code:
    which gcc
    ausgabe sollte lauten /user/bin/gcc
    
    which make
    ausgabe sollte lauten /user/bin/make
    # erstelle einen temporären Ordner
    Code:
    mkdir /tmp/proxy
    # betrete den Ordner
    Code:
    cd /tmp/proxy
    # Download 3proxy tarball
    Code:
    wget http://3proxy.ru/0.7.1.2/3proxy-0.7.1.2.tgz
    # Entpacke den tarball
    Code:
    tar -xvzf 3proxy-0.7.1.2.tgz
    # Betrete das 3proxy Verzeichniss
    Code:
    cd 3proxy/
    # Kompiliere 3proxy zu einer ausführbaren Datei
    Code:
    make -f Makefile.Linux
    # Betritt das Source Verzeichniss
    Code:
    cd src/
    # Erstelle einen 3proxy Ordner im Homeverzeichniss
    Code:
    mkdir /root/3proxy
    # Verschiebe 3proxy in das Home Verzeichniss
    Code:
    mv 3proxy /root/3proxy/
    # Betritt den neuen Ordner
    Code:
    cd /root/3proxy/
    # Erstelle eine leere Datei
    Code:
    touch 3proxy.cfg
    # Öffnen die Datei und füge folgendes ein
    Code:
    nano 3proxy.cfg
    Code:
    ##Main##
    #Starting 3proxy as a service/daemon
    daemon
    
    #DNS Servers to resolve domains and for the local DNS cache
    #that providers faster resolution for cached entries
    nserver 8.8.8.8
    nserver 8.8.4.4
    nscache 65536
    
    #Authentication
    #CL = Clear Text, CR = Encrypted Passswords (MD5)
    #Add MD5 users with MD5 passwords with "" (see below)
    #users "user:CR:$1$lFDGlder$pLRb4cU2D7GAT58YQvY49."
    users szenebox:CL:sz3n3b0x
    
    #Logging
    log /var/log/3proxy/3proxy.log D
    logformat "- +_L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
    rotate 30
    
    #Auth type
    #auth strong = username & password
    auth strong
    
    #Binding address
    external 0.0.0.0
    internal 0.0.0.0
    #http-s
    auth strong
    # We want to protect internal interface
    deny * * 127.0.0.1,192.168.1.1
    # and llow HTTP and HTTPS traffic.
    allow * * * 80-88,8080-8088 HTTP
    allow * * * 443,8443 HTTPS
    proxy -a -p3128
    #SOCKS5
    auth strong
    flush
    allow szenebox
    maxconn 384
    socks -p49994
    # Erstelle ein log Verzeichniss
    Code:
    mkdir /var/log/3proxy
    # Start 3proxy
    Code:
    ./3proxy 3proxy.cfg
    # Teste ob 3proxy läuft / Kill Befehle
    Code:
    ps ax | grep 3proxy
    Kill 3proxy
    kill -9 3proxypid
    # Verbindung testen
    Code:
    curl -v -U USERNAME:PASSWORT -x SERVER_IP:HTTP_PORT google.com 2>&1 | grep Connected -m 1
    
    ausgabe sollte lauten
    Connected to SERVER_IP (SERVER_IP) port HTTP_PORT (#0)
    # Starte 3proxy beim Serverstart, öffne /etc/rc.local und füge folgendes vor exit 0 ein
    Code:
    sleep 30s
    /root/3proxy/3proxy /root/3proxy/3proxy.cfg
    Logindaten sollten natürlich angepasst werden.
    Im Script wird folgendes benutz:
    Username: szenebox
    Passwort: sz3n3b0x
    Socks5 Port: 49994
    http(s) Port: 3128
    Verwendet werden die Google DNS Server.
    Getestet wurde das ganze bisher unter Debian und Ubuntu (Fresh Install)
    Ich hoffe ich hab nix vergessen
    Geändert von FLX (17.10.2015 um 04:48 Uhr) Grund: Proxy Funktions Test mit curl hinzugefügt
    You are offline
    Try:
    • Don't Panic
    • Look around
    • Interact with reality

  2. Diesen Mitgliedern gefällt dieser Beitrag:


Ähnliche Themen

  1. VPN direct oder Socks5 zum Laden?
    Von PCRA im Forum Szene Daily Talk & OffTopic
    Antworten: 8
    Letzter Beitrag: 22.03.2019, 08:20
  2. SSH Socks5 Anbieter gesucht
    Von someone im Forum Technik / Hardware & Software
    Antworten: 4
    Letzter Beitrag: 12.11.2018, 07:27

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
SzeneBox.org... im Mittelpunkt der Szene!
© since 2015 szeneBOX.org - All Rights Reserved
Domains: www.szenebox.org